<%@include file="../../generic/inc/head.jsp"%>

<%@ page import="fr.mywiki.view.web.struts.action.admin.AdminHomeAction" %>


<script>
function goto(dest) {
	document.forms["adminHomeForm"].redirectme.value=dest;
	document.forms["adminHomeForm"].submit();
}
</script>

<div id="mainPanel">
	<html:form action="adminHome">
		<html:hidden property="method" value="reach" />
		<html:hidden property="redirectme" value="" />
		
		<ul>
			<li>
				<a href="#" onclick="javascript:goto('<%=AdminHomeAction.CREATE_ACCOUNT %>')">
					<bean:message key="admin.user.create"/>
				</a>
			</li>
			<li>
				<a href="#" onclick="javascript:goto('<%=AdminHomeAction.GET_ACCOUNTS %>')">
					<bean:message key="admin.user.getList"/>
				</a>
			</li>
			<li>
				<a href="#" onclick="javascript:goto('<%=AdminHomeAction.MANAGE_STRUCTURE %>')">
					<bean:message key="admin.structure.title"/>
				</a>
			</li>
		</ul>
	</html:form>
</div>
	
<%@include file="../../generic/inc/foot.jsp"%>
